JAVA = java
JAVAC = javac -O -g
CP = .:../cream.jar
CLASSES = FirstStep.class FT06.class JSSP.class Queens.class \
	Sudoku.class Magic.class Magic3.class FourColor.class \
	JavaCreamSolver.class Golomb.class Museum.class

.SUFFIXES: .java .class .run $(SUFFIXES)

.java.class:
	$(JAVAC) -classpath $(CP) $*.java

.class.run:
	$(JAVA) -classpath $(CP) $*

all: $(CLASSES)

clean:
	rm -rf *.class *~
